package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.dto.Acticledto;
import com.example.common.dto.ArticleInfo;
import com.example.common.pojo.musicarticle;

import java.util.List;

public interface MusicArticleservice extends IService<musicarticle> {

    public Page<Acticledto> selectPagearticle(int page, int pageSize, String name, Long tagid);

    public ArticleInfo selectArticleInfo(Long id);

    List<Acticledto> gethasdeletelist(int pageNum, int pageSize, String name, Long tagid,Long categoryId);

    boolean updateCategoryById(Long id, Long categoryId);

    boolean addTag(Long id, List<Long> tagList);

    boolean startandstop(Long id);

    boolean allremoveById(Long id);

    ArticleInfo selectNewArticleInfo(Long id);

    musicarticle selectArticleById(Long id);
}
